Optimal. Leaf size=172 \[ -\frac {2 d^2 (d \sec (e+f x))^{3/2}}{3 b f (b \tan (e+f x))^{3/2}}+\frac {d^3 \text {ArcTan}\left (\frac {\sqrt {b \sin (e+f x)}}{\sqrt {b}}\right ) \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}}{b^{5/2} f \sqrt {b \tan (e+f x)}}+\frac {d^3 \tanh ^{-1}\left (\frac {\sqrt {b \sin (e+f x)}}{\sqrt {b}}\right ) \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}}{b^{5/2} f \sqrt {b \tan (e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 172, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 7, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.280, Rules used = {2688, 2696,
2644, 335, 218, 212, 209} \begin {gather*} \frac {d^3 \sqrt {b \sin (e+f x)} \sqrt {d \sec (e+f x)} \text {ArcTan}\left (\frac {\sqrt {b \sin (e+f x)}}{\sqrt {b}}\right )}{b^{5/2} f \sqrt {b \tan (e+f x)}}+\frac {d^3 \sqrt {b \sin (e+f x)} \sqrt {d \sec (e+f x)} \tanh ^{-1}\left (\frac {\sqrt {b \sin (e+f x)}}{\sqrt {b}}\right )}{b^{5/2} f \sqrt {b \tan (e+f x)}}-\frac {2 d^2 (d \sec (e+f x))^{3/2}}{3 b f (b \tan (e+f x))^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 212
Rule 218
Rule 335
Rule 2644
Rule 2688
Rule 2696
Rubi steps
\begin {align*} \int \frac {(d \sec (e+f x))^{7/2}}{(b \tan (e+f x))^{5/2}} \, dx &=-\frac {2 d^2 (d \sec (e+f x))^{3/2}}{3 b f (b \tan (e+f x))^{3/2}}+\frac {d^2 \int \frac {(d \sec (e+f x))^{3/2}}{\sqrt {b \tan (e+f x)}} \, dx}{b^2}\\ &=-\frac {2 d^2 (d \sec (e+f x))^{3/2}}{3 b f (b \tan (e+f x))^{3/2}}+\frac {\left (d^3 \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}\right ) \int \frac {\sec (e+f x)}{\sqrt {b \sin (e+f x)}} \, dx}{b^2 \sqrt {b \tan (e+f x)}}\\ &=-\frac {2 d^2 (d \sec (e+f x))^{3/2}}{3 b f (b \tan (e+f x))^{3/2}}+\frac {\left (d^3 \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {x} \left (1-\frac {x^2}{b^2}\right )} \, dx,x,b \sin (e+f x)\right )}{b^3 f \sqrt {b \tan (e+f x)}}\\ &=-\frac {2 d^2 (d \sec (e+f x))^{3/2}}{3 b f (b \tan (e+f x))^{3/2}}+\frac {\left (2 d^3 \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}\right ) \text {Subst}\left (\int \frac {1}{1-\frac {x^4}{b^2}} \, dx,x,\sqrt {b \sin (e+f x)}\right )}{b^3 f \sqrt {b \tan (e+f x)}}\\ &=-\frac {2 d^2 (d \sec (e+f x))^{3/2}}{3 b f (b \tan (e+f x))^{3/2}}+\frac {\left (d^3 \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}\right ) \text {Subst}\left (\int \frac {1}{b-x^2} \, dx,x,\sqrt {b \sin (e+f x)}\right )}{b^2 f \sqrt {b \tan (e+f x)}}+\frac {\left (d^3 \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}\right ) \text {Subst}\left (\int \frac {1}{b+x^2} \, dx,x,\sqrt {b \sin (e+f x)}\right )}{b^2 f \sqrt {b \tan (e+f x)}}\\ &=-\frac {2 d^2 (d \sec (e+f x))^{3/2}}{3 b f (b \tan (e+f x))^{3/2}}+\frac {d^3 \tan ^{-1}\left (\frac {\sqrt {b \sin (e+f x)}}{\sqrt {b}}\right ) \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}}{b^{5/2} f \sqrt {b \tan (e+f x)}}+\frac {d^3 \tanh ^{-1}\left (\frac {\sqrt {b \sin (e+f x)}}{\sqrt {b}}\right ) \sqrt {d \sec (e+f x)} \sqrt {b \sin (e+f x)}}{b^{5/2} f \sqrt {b \tan (e+f x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 1.29, size = 144, normalized size = 0.84 \begin {gather*} -\frac {d^4 \sqrt {b \tan (e+f x)} \left (3 \text {ArcTan}\left (\frac {\sqrt {\sec (e+f x)}}{\sqrt [4]{\tan ^2(e+f x)}}\right ) \sqrt {\sec (e+f x)}-3 \tanh ^{-1}\left (\frac {\sqrt {\sec (e+f x)}}{\sqrt [4]{\tan ^2(e+f x)}}\right ) \sqrt {\sec (e+f x)}+2 \csc ^2(e+f x) \sqrt [4]{\tan ^2(e+f x)}\right )}{3 b^3 f \sqrt {d \sec (e+f x)} \sqrt [4]{\tan ^2(e+f x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 4 vs. order
3.
time = 0.36, size = 1367, normalized size = 7.95
method | result | size |
default | \(\text {Expression too large to display}\) | \(1367\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 456 vs.
\(2 (152) = 304\).
time = 0.59, size = 920, normalized size = 5.35 \begin {gather*} \left [\frac {16 \, d^{3} \sqrt {\frac {b \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \sqrt {\frac {d}{\cos \left (f x + e\right )}} \cos \left (f x + e\right ) - 6 \, {\left (b d^{3} \cos \left (f x + e\right )^{2} - b d^{3}\right )} \sqrt {-\frac {d}{b}} \arctan \left (\frac {{\left (\cos \left (f x + e\right )^{3} - 5 \, \cos \left (f x + e\right )^{2} - {\left (\cos \left (f x + e\right )^{2} + 6 \, \cos \left (f x + e\right ) + 4\right )} \sin \left (f x + e\right ) - 2 \, \cos \left (f x + e\right ) + 4\right )} \sqrt {\frac {b \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \sqrt {-\frac {d}{b}} \sqrt {\frac {d}{\cos \left (f x + e\right )}}}{4 \, {\left (d \cos \left (f x + e\right )^{2} - {\left (d \cos \left (f x + e\right ) + d\right )} \sin \left (f x + e\right ) - d\right )}}\right ) + 3 \, {\left (b d^{3} \cos \left (f x + e\right )^{2} - b d^{3}\right )} \sqrt {-\frac {d}{b}} \log \left (\frac {d \cos \left (f x + e\right )^{4} - 72 \, d \cos \left (f x + e\right )^{2} + 8 \, {\left (7 \, \cos \left (f x + e\right )^{3} - {\left (\cos \left (f x + e\right )^{3} - 8 \, \cos \left (f x + e\right )\right )} \sin \left (f x + e\right ) - 8 \, \cos \left (f x + e\right )\right )} \sqrt {\frac {b \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \sqrt {-\frac {d}{b}} \sqrt {\frac {d}{\cos \left (f x + e\right )}} + 28 \, {\left (d \cos \left (f x + e\right )^{2} - 2 \, d\right )} \sin \left (f x + e\right ) + 72 \, d}{\cos \left (f x + e\right )^{4} - 8 \, \cos \left (f x + e\right )^{2} - 4 \, {\left (\cos \left (f x + e\right )^{2} - 2\right )} \sin \left (f x + e\right ) + 8}\right )}{24 \, {\left (b^{3} f \cos \left (f x + e\right )^{2} - b^{3} f\right )}}, \frac {16 \, d^{3} \sqrt {\frac {b \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \sqrt {\frac {d}{\cos \left (f x + e\right )}} \cos \left (f x + e\right ) + 6 \, {\left (b d^{3} \cos \left (f x + e\right )^{2} - b d^{3}\right )} \sqrt {\frac {d}{b}} \arctan \left (\frac {{\left (\cos \left (f x + e\right )^{3} - 5 \, \cos \left (f x + e\right )^{2} + {\left (\cos \left (f x + e\right )^{2} + 6 \, \cos \left (f x + e\right ) + 4\right )} \sin \left (f x + e\right ) - 2 \, \cos \left (f x + e\right ) + 4\right )} \sqrt {\frac {b \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \sqrt {\frac {d}{b}} \sqrt {\frac {d}{\cos \left (f x + e\right )}}}{4 \, {\left (d \cos \left (f x + e\right )^{2} + {\left (d \cos \left (f x + e\right ) + d\right )} \sin \left (f x + e\right ) - d\right )}}\right ) + 3 \, {\left (b d^{3} \cos \left (f x + e\right )^{2} - b d^{3}\right )} \sqrt {\frac {d}{b}} \log \left (\frac {d \cos \left (f x + e\right )^{4} - 72 \, d \cos \left (f x + e\right )^{2} - 8 \, {\left (7 \, \cos \left (f x + e\right )^{3} + {\left (\cos \left (f x + e\right )^{3} - 8 \, \cos \left (f x + e\right )\right )} \sin \left (f x + e\right ) - 8 \, \cos \left (f x + e\right )\right )} \sqrt {\frac {b \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \sqrt {\frac {d}{b}} \sqrt {\frac {d}{\cos \left (f x + e\right )}} - 28 \, {\left (d \cos \left (f x + e\right )^{2} - 2 \, d\right )} \sin \left (f x + e\right ) + 72 \, d}{\cos \left (f x + e\right )^{4} - 8 \, \cos \left (f x + e\right )^{2} + 4 \, {\left (\cos \left (f x + e\right )^{2} - 2\right )} \sin \left (f x + e\right ) + 8}\right )}{24 \, {\left (b^{3} f \cos \left (f x + e\right )^{2} - b^{3} f\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (\frac {d}{\cos \left (e+f\,x\right )}\right )}^{7/2}}{{\left (b\,\mathrm {tan}\left (e+f\,x\right )\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________